using MediatR;
using RBAC.Domain.ProcessManagement;
using RBAC.ErrorCode;

namespace RBAC.Read.Api.Application.Command.ProcessManagements
{
    /// <summary>
    /// 分页查询工序分类（读）
    /// </summary>
    public class GetProcessClassificationsPageCommand : IRequest<APIPaging<ProcessClassification>>
    {
     /// <summary>
     /// 页码
     /// </summary>
        public int PageIndex { get; set; } = 1;
     /// <summary>
     /// 每页大小
     /// </summary>
        public int PageSize { get; set; } = 10;
     /// <summary>
     /// 关键字
     /// </summary>
        public string? Keyword { get; set; }
     /// <summary>
     /// 状态
     /// </summary>
        public int? Status { get; set; }
     /// <summary>
     /// 排序
     /// </summary>
        public string OrderBy { get; set; } = "Id DESC";
    }
}
